﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace VideoCache.Server.MVCWeb.Areas.Admin.Models
{
    public class UserRoleModel
    {
        [Display(Name = "用户编号")]
        public int UserId { get; set; }

        [Display(Name = "用户名")]
        public string UserName { get; set; }

        [Display(Name = "角色名称")]
        public List<int> Roles { get; set; }

        public UserRoleModel()
        {
            this.Roles = new List<int>();
        }
    }
}